package com.xmsx.back.pojo;


import java.io.Serializable;
import java.util.Objects;

public class Graduate implements Serializable {

    private String id;
    private String sex;
    private String nation;
    private String politicsSt;
    private String school;
    private String eduBackgro;
    private String major;
    private String origin;
    private long gradTime;
    private String difficulty;
    private String department;
    private long sid;
    private String direction;
    private String orgName;
    private String orgKind;
    private String orgIndustry;
    private String orgLocation;
    private String jobType;
    private String orgAddress;

    public Graduate() {
    }

    public Graduate(String id, String sex, String nation, String politicsSt, String school, String eduBackgro, String major, String origin, long gradTime, String difficulty, String department, long sid, String direction, String orgName, String orgKind, String orgIndustry, String orgLocation, String jobType, String orgAddress) {
        this.id = id;
        this.sex = sex;
        this.nation = nation;
        this.politicsSt = politicsSt;
        this.school = school;
        this.eduBackgro = eduBackgro;
        this.major = major;
        this.origin = origin;
        this.gradTime = gradTime;
        this.difficulty = difficulty;
        this.department = department;
        this.sid = sid;
        this.direction = direction;
        this.orgName = orgName;
        this.orgKind = orgKind;
        this.orgIndustry = orgIndustry;
        this.orgLocation = orgLocation;
        this.jobType = jobType;
        this.orgAddress = orgAddress;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }


    public String getPoliticsSt() {
        return politicsSt;
    }

    public void setPoliticsSt(String politicsSt) {
        this.politicsSt = politicsSt;
    }


    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }


    public String getEduBackgro() {
        return eduBackgro;
    }

    public void setEduBackgro(String eduBackgro) {
        this.eduBackgro = eduBackgro;
    }


    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }


    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }


    public long getGradTime() {
        return gradTime;
    }

    public void setGradTime(long gradTime) {
        this.gradTime = gradTime;
    }


    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }


    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }


    public long getSid() {
        return sid;
    }

    public void setSid(long sid) {
        this.sid = sid;
    }


    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }


    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }


    public String getOrgKind() {
        return orgKind;
    }

    public void setOrgKind(String orgKind) {
        this.orgKind = orgKind;
    }


    public String getOrgIndustry() {
        return orgIndustry;
    }

    public void setOrgIndustry(String orgIndustry) {
        this.orgIndustry = orgIndustry;
    }


    public String getOrgLocation() {
        return orgLocation;
    }

    public void setOrgLocation(String orgLocation) {
        this.orgLocation = orgLocation;
    }


    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getOrgAddress() {
        return orgAddress;
    }

    public void setOrgAddress(String orgAddress) {
        this.orgAddress = orgAddress;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Graduate)) return false;
        Graduate graduate = (Graduate) o;
        return getGradTime() == graduate.getGradTime() &&
                getSid() == graduate.getSid() &&
                Objects.equals(getId(), graduate.getId()) &&
                Objects.equals(getSex(), graduate.getSex()) &&
                Objects.equals(getNation(), graduate.getNation()) &&
                Objects.equals(getPoliticsSt(), graduate.getPoliticsSt()) &&
                Objects.equals(getSchool(), graduate.getSchool()) &&
                Objects.equals(getEduBackgro(), graduate.getEduBackgro()) &&
                Objects.equals(getMajor(), graduate.getMajor()) &&
                Objects.equals(getOrigin(), graduate.getOrigin()) &&
                Objects.equals(getDifficulty(), graduate.getDifficulty()) &&
                Objects.equals(getDepartment(), graduate.getDepartment()) &&
                Objects.equals(getDirection(), graduate.getDirection()) &&
                Objects.equals(getOrgName(), graduate.getOrgName()) &&
                Objects.equals(getOrgKind(), graduate.getOrgKind()) &&
                Objects.equals(getOrgIndustry(), graduate.getOrgIndustry()) &&
                Objects.equals(getOrgLocation(), graduate.getOrgLocation()) &&
                Objects.equals(getJobType(), graduate.getJobType()) &&
                Objects.equals(getOrgAddress(), graduate.getOrgAddress());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getId(), getSex(), getNation(), getPoliticsSt(), getSchool(), getEduBackgro(), getMajor(), getOrigin(), getGradTime(), getDifficulty(), getDepartment(), getSid(), getDirection(), getOrgName(), getOrgKind(), getOrgIndustry(), getOrgLocation(), getJobType(), getOrgAddress());
    }

    @Override
    public String toString() {
        return "Graduate{" +
                "id='" + id + '\'' +
                ", sex='" + sex + '\'' +
                ", nation='" + nation + '\'' +
                ", politicsSt='" + politicsSt + '\'' +
                ", school='" + school + '\'' +
                ", eduBackgro='" + eduBackgro + '\'' +
                ", major='" + major + '\'' +
                ", origin='" + origin + '\'' +
                ", gradTime=" + gradTime +
                ", difficulty='" + difficulty + '\'' +
                ", department='" + department + '\'' +
                ", sid=" + sid +
                ", direction='" + direction + '\'' +
                ", orgName='" + orgName + '\'' +
                ", orgKind='" + orgKind + '\'' +
                ", orgIndustry='" + orgIndustry + '\'' +
                ", orgLocation='" + orgLocation + '\'' +
                ", jobType='" + jobType + '\'' +
                ", orgAddress='" + orgAddress + '\'' +
                '}';
    }
}
